package com.qywx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Entity;

/**
 * @ClassName PhotoEntity
 * @Description: TODO
 * @Author wmj
 * @Date 2020/3/16
 * @Version V1.0
 **/
@Data
@Entity
@TableName("photo")
public class PhotoEntity {
    @TableId(type= IdType.AUTO)
    private int id;
    private String name;
    private byte[] photo;
}
